import Vue from 'vue';
import { importAll } from '@/utils/util';

const filters = importAll(require.context('./', false, /^(?!.*(?:index.js$)).*\.js$/));

// 全局挂载 filter
Object.keys(filters).forEach(key => {
  Vue.filter(key, filters[key]);
});
